4d771343527e59fb572f5eefb6b225ec19910eb7,epcis/src/main/java/org/oliot/epcis/service/capture/CaptureService.java,CaptureService,capture,#VocabularyType#number#,164
Before Change
public void capture(VocabularyType vocabulary, Integer gcpLength) {
if (Configuration.backend.equals("MongoDB")) {
MongoCaptureUtil m = new MongoCaptureUtil();
m.capture(vocabulary, null, null, gcpLength);
}
}
After Change
public String capture(VocabularyType vocabulary, Integer gcpLength) {
if (Configuration.backend.equals("MongoDB")) {
MongoCaptureUtil m = new MongoCaptureUtil();
return m.capture(vocabulary, null, null, gcpLength);
}else {
return "[ERROR] Non-supported Repository";
}